﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace ThridGroup.ERP.DTO.ProductionSystem
{  
    /// <summary>
    /// 创建和修改生产派单Dto
    /// </summary>
    public class CreateOrderDispatchDto:EntityDto<int>
    {
        public int Id { get; set; }

        /// <summary>
        /// 生产工单编号
        /// </summary>
        public string ProductionOrderCode { get; set; }
        /// <summary>
        /// 任务名称
        /// </summary>
        public string TaskName { get; set; }
        /// <summary>
        /// 工作站名称
        /// </summary>
        public string WorkstationName { get; set; }
        /// <summary>
        /// 工序名称
        /// </summary>
        public string ProcessesName { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductionName { get; set; }
        /// <summary>
        /// 开始生产时间
        /// </summary>
        public DateTime StartTime { get; set; }
        /// <summary>
        /// 完成生产时间
        /// </summary>
        public DateTime EndTime { get; set; }
        /// <summary>
        /// 派单对象
        /// </summary>
        public string DispatchName { get; set; }
        /// <summary>
        /// 记录创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 记录更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
    }
}
